<!DOCTYPE html>

<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<title>培训记录</title>
		<link rel="stylesheet" href="../../lib/layui/css/layui.css">
		<link rel="stylesheet" href="../../lib/layui/css/scroll-bar.css">
			<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
		<style>html{width:90%;margin-left:5%;padding-bottom:-30px;color:#fff;border:1px solid #090;box-sizing:border-box;border-top:0}body{width:100%;overflow-x:hidden}.layui-inline{margin-bottom:10px}.layui-input{width:63%;float:left;border-radius:10px}.txt{float:left;height:38px;line-height:38px;color:#000;width:32%;text-align:center}.layui-table-page{display:block}.page1{padding-bottom:8px;color:#090;border-bottom:1px solid #090}.layui-container{padding:0}.layui-table-header{overflow-x:scroll}.list{width:80%;display:flex;margin:0 auto}.list>a{flex:1;text-align:center}.layui-col-lg3{width:100%}.layui-col-lg3 .layui-inline{width:100%}.layui-form-select dl dd{color:black}.layui-form-select .layui-edge{top:20px;right:10%}.theoryType_yang div:nth-child(3){width:63%!important;float:left}.layui-form-select .layui-input{width:100%}.layui-laydate{left:65px!important}#loading{position:fixed;z-index:400;width:100%;height:100%;top:0;left:0;text-align:center;font-size:.9rem;color:#595758;background-color:#fff}
		.left-nav{
			width: 100%;
			overflow: hidden;
			background-color: #c9c9c9;
			margin-bottom: 15px;
			
		}
		#nav{
			list-style: none;
			overflow: hidden;			
		}
		#nav li {
			width: 50%;
			float: left;
			height: 40px;
			line-height: 40px;
			font-size:16px ;
			text-align: center;	
		}
		/*.type{
			display: none;
		}*/
		</style>
		<style type="text/css">
			* {
				margin: 0;
				padding: 0;
				list-style: none;
				box-sizing: border-box;
				-webkit-box-sizing: border-box;
				-moz-box-sizing: border-box;
			}

			html {
				font-size: 14px;
			}

			img {
				max-width: 100%;
			}

			header {
				height: 40px;
				width: 100%;
				min-width: 320px;
				background: #98b1d7;
				text-align: center;
				color: #fff;
				font-size: 1.2rem;
				line-height: 40px;
			}
			.layui-row{
				width: 100%;
			}
			footer {
				height: 52px;
				width: 100%;
				min-width: 320px;
				background: #98b1d7;
				text-align: center;
				color: #fff;
				font-size: 1.2rem;
				line-height: 52px;
				position: absolute;
				bottom: 0;
			}

			#wrapper {
				width: 90%;
				height: 550px;
				min-width: 320px;
				position: absolute;
				left: 1.5%;
				top: 150px;
				bottom: 52px;
				overflow: hidden;
				z-index: 1;
				background-color: #eee;
				/* 防止本机Windows上的触摸事件 */
				-ms-touch-action: none;
				/* 防止callout tap-hold和文本的选择 */
				-webkit-touch-callout: none;
				-webkit-user-select: none;
				-moz-user-select: none;
				-ms-user-select: none;
				user-select: none;
				/* 防止文本调整取向变化对web应用程序很有用 */
				-webkit-text-size-adjust: none;
				-moz-text-size-adjust: none;
				-ms-text-size-adjust: none;
				-o-text-size-adjust: none;
				text-size-adjust: none;
			}

			.pull-loading {
				text-align: center;
				height: 40px;
				line-height: 40px;
				display: flex;
				align-items: center;
				justify-content: center;
			}

			#scroller ul {}

			#scroller ul li {
				margin-bottom: 20px;
				padding-left: 20px;
				background: #fff;
				border-bottom: 2px solid red;
				clear: both;
				padding-bottom: 20px;
				overflow: hidden;
			}

			.shuju2 {
				width: 100%;
				font-size: 18px;
				margin-bottom: 10px;
			}

			.shuju1 {
				width: 45%;
				float: left;
				font-size: 18px;
				margin-bottom: 10px;
			}
		</style>

	</head>

	<body id="iosiframe">
		<div class="left-nav" lay-filter="left-nav">
				<ul id="nav" class="nav">
				<li class="otherBackColor" style="background-color: green;">
					<a href="canc-lilunSynchio.html" onclick="javascrtpt:window.location.href='canc-lilunSynchio.html'" style="font-size: 15px; color: #ffffff;">培训记录</a>
				</li>
				<!--<li class="otherBackColor">
					<a href="../tongji/canc-performanceAnalysis.html" style="font-size: 15px;">考试成绩查询</a>
				</li>-->
				<li id="sp" class="backColor">
					<a href="../../personInfo.html" style="font-size: 15px;" id="info" class="hover">修改个人信息</a>
				</li>
			</ul>
		</div>
		
		
		<div id="loading">
			<i class="fa fa-spinner fa-pulse" style="font-size: 48px; margin: 0 auto;" ></i>
		</div>
		<!--<div style="margin-top:10px;padding-bottom:10px;" class="list">
			<a href="canc-lilunSynchio.html" class="page1">理论课记录</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="mactingSynchio.html" class="page2">模拟机记录</a>
		</div>-->
		<div class="layui-tab userWrap layui-container">
			<form action="" class="layui-form">
				<div class="layui-row">
					<!--理论培训记录名称-->
					<div class="layui-col-lg3">
						<div class="layui-inline theoryType_yang">
							<span class="txt">培训类别:</span>
							<select class="layui-input courseType" name="courseType" id="courseType">
								<option value="">请选择培训类别</option>
								<option value="0">岗前培训</option>
								<option value="1">岗位培训</option>
								<option value="2">复习</option>
								<option value="3">熟练</option>
								<option value="4">附加</option>
								<option value="5">补习</option>
								<option value="6">追加</option>
							</select>
						</div>
						<div class="layui-inline theoryType_yang">
							<div class="txt">培训科目:</div>
							<select name="theoryType" class="layui-input theoryType">
								<option value="">请选择培训科目</option>
								<option value="0">雷达管制理论</option>
								<option value="1" selected>机场管制理论</option>
								<option value="2">程序管制理论</option>
								<option value="3">空管基础理论</option>								
								<!--<option value="6">机场管制模拟机</option>
								<option value="7">程序管制模拟机</option>
								<option value="8">雷达管制模拟机</option>-->
							</select>
						</div>
												
						<div class="layui-inline theoryType_yang">
							<div class="txt">课程类型:</div>
							<select name="type" class="layui-input type" lay-filter="pid">
								<!--<option value="">请选择课程类型</option>-->
								<option value="0">模拟机记录</option>
								<option value="1" selected>理论记录</option>
							</select>
						</div>

						 <!--<select name="d[i][disable]">
       						<option value="1" selected="selected">是</option>
      						<option  value="0">否</option>
    					</select>
						<div id="scheduleDate" style="width: 20px;height: 20px; background: red;">是否显示的框</div>-->
						
						<!--<div class="layui-col-lg3">
						<div class="layui-inline">
							<span>课程类型:</span>
							<select class="layui-input sortOrder select-jilian type " name="courseType">
								<option value="" selected>请选择课程类型</option>
								<option value="0">模拟机成绩</option>
								<option value="1">理论成绩</option>
							</select>
						</div>
					</div>-->
						
						<!--理论名称-->
						<!--<div class="layui-inline" style="width:100%;">-->
							<!--<div class="txt"> 理论课名称:</div>-->
							<!--<input type="text" name="theoryId" autocomplete="off" placeholder="请输入理论课名称" class="layui-input theoryId ">-->
						<!--</div>-->
						<!--<div class="layui-inline">-->
							<!--<div class="txt"> 教员姓名:</div>-->
							<!--<input type="text" name="teacherName" autocomplete="off" placeholder="请输入教员姓名" class="layui-input teacherName">-->
						<!--</div>-->
						<!--日期-->
						<div class="layui-inline">
							<div class="txt"> 开始时间:</div>
							<input type="text" name="startTime" autocomplete="off" placeholder="请选择开始时间" class="layui-input startTime">
						</div>
						<div class="layui-inline">
							<div class="txt"> 结束时间:</div>
							<input type="text" name="endTime" autocomplete="off" placeholder="请选择结束时间" class="layui-input endTime">
						</div>

                        <!--<div class="layui-inline bianhao" style="display: none;">-->
                            <!--<div class="txt"> 练习编号:</div>-->
                            <!--<input type="text" name="number" autocomplete="off" placeholder="请输入练习编号" class="layui-input number">-->
                        <!--</div>-->
						<!-- 学时-->
						<!--<div class="layui-inline">
							<div class="txt"> 培训学时:</div>
							<input type="text" name="hour" autocomplete="off" placeholder="请选择培训学时" class="layui-input hour">
						</div>-->
						<!-- 签到人数-->
						<!--<div class="layui-inline">-->
							<!--<div class="txt"> 签到人数:</div>-->
							<!--<input type="text" name="signCount" autocomplete="off" placeholder=" 请输入签到人数" class="layui-input signCount">-->
						<!--</div>-->
					</div>
				</div>
			</form>
			<div class="layui-show-lg-block" style="padding-left: 4%;">
				<button class="layui-btn startSearch" lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i>开始查询</button>
			</div>
		</div>
		<!--<script type="text/html" class="toolbarDemo">-->
			<!--<div class="layui-btn-container">-->
				<!--<button class="layui-btn layui-btn-sm layui-btn-normal" lay-event="isAll" style="font-size:20px!important;">理论培训记录:</button>-->
			<!--</div>-->
		<!--</script>-->

		<table id="tlihunRest" lay-filter="tlihunRest"></table>
		<script type="text/html" id="barDemo">
			<!--<a class="layui-btn layui-btn-xs  operation" lay-event="edit">编辑</a>-->
			<a class="layui-btn layui-btn-xs  operation obj" lay-event='edit'>编辑查看</a>
		</script>
		<script src="../../static/js/jquery.1.11.1.js"></script>
		<script src="../../lib/layui/layui.js" charset="utf-8"></script>
		<script src="../../static/js/weadmin.js"></script>
		<script src="../../static/js/admin.js"></script>
		<script src="../../static/js/public.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/canc-lilunSynchio.js"></script>


<!--<script type="text/javascript">
    $(document).ready(function(){
        var scheduleValue = $('#schedule').find('select').val();
        (scheduleValue == 1) ? $('#scheduleDate').show() : $('#scheduleDate').hide();
        $('#schedule').find('select').click(function(){
            var option = $(this).find('option:selected').val();
            option == 1 ? $('#scheduleDate').show() : $('#scheduleDate').hide();
        });
    });
</script>-->
		
		
		<script>
			var iframeIndex;
			function editUser(edit) {
				layui.use(['table', 'laypage', 'layer', 'laydate', 'jquery', 'form'], function() {
					var form = layui.form;
					var index = layui.layer.open({
						title: "教员教案详情操作",
						type: 2,
						content: ["editLilun.html"], //弹出层页面
						area: ['500px', '90%'],
						success: function(layero, index) {
							var body = layui.layer.getChildFrame('body', index);
							if(edit) {
								// 取到弹出层里的元素，并把编辑的内容放进去
								body.find(".id").val(edit.id); //理论培训记录名称
								body.find(".classId").val(edit.classId); //班级名称
								body.find(".theoryType").val(edit.theoryType); //理论类型
								body.find(".theoryId").val(edit.theoryId); // 理论名称
								body.find(".subjectId").val(edit.subjectId); //科目名称
								body.find(".signId").val(edit.signId); // 签到名称
								body.find(".teacherId").val(edit.teacherId); //教员名称
								body.find(".date").val(edit.date); //日期
								body.find(".hour").val(edit.hour); //学时
								body.find(".content").val(edit.content); //备注
								body.find(".comment").val(edit.comment); //课堂备注
								body.find(".signCount").val(edit.signCount); //备注
								form.render();
							}
						}
					})
					iframeIndex = index;
					//layui.layer.full(index);//设置弹出层布满窗口
					//改变窗口大小时，重置弹窗的宽高，防止超出可视区域（如F12调出debug的操作）
					$(window).on("resize", function() {
						//layui.layer.full(window.sessionStorage.getItem("index"));
					})
				})
			}
		</script>

	</body>

</html>
<script type="text/html" id="theoryType">
	<div>
		{{# var fu = function(){ var theoryType = d.theoryType; console.log(theoryType); if(theoryType == 0){return "程序管制";} else if(theoryType == 1){return "机场管制";} else if(theoryType == 2){return "空管基础理论";} else if(theoryType == 3){return "雷达管制";} } }} {{fu()}}
	</div>
</script>
<script>
	var ua = navigator.userAgent.toLowerCase();
    var screenwidth = window.screen.width;
    if(!/iphone|ipad|ipod/.test(ua)){
        $("#iosiframe").attr("scrolling","auto");
    }else{
        $('#iosiframe').width(screenwidth*0.9 + 'px');
       }
</script>
<script>
	jQuery(document).ready(function() {
		jQuery(window).load(function() { //load函数
			jQuery("#loading").hide();
		});
	});
</script>